/*
 * Created by LiuYou on 2020/11/13.
 *
 */

#ifndef EFFECTIVECPP_COMPUTER_HPP
#define EFFECTIVECPP_COMPUTER_HPP


#include "Cpu.hpp"
#include "GraphicsCard.hpp"


namespace computer {


    class Computer {
    public:
        Cpu* getCpu() const {
            return cpu;
        }

        void setCpu(Cpu* cpu) {
            Computer::cpu = cpu;
        }

        explicit Computer(Cpu* cpu) : cpu(cpu) {}

        virtual ~Computer() = default;

    private:
        Cpu* cpu{nullptr};
        GraphicsCard graphicsCard;
//        Display display;

    };

}


#endif //EFFECTIVECPP_COMPUTER_HPP
